<template>
  <feedback title="修改成功" info="将返回登录页面" :sub-info="`${counter}s`" />
</template>

<script setup lang="ts">
  import { useCountDown } from 'g6-fn'
  import { useRouter } from 'vue-router'

  import Feedback from '@/components/Feedback/index.vue'

  const router = useRouter()
  const { counter, start } = useCountDown(() => {
    router.replace('/login')
  })
  start(3)
</script>

<style lang="less" scoped></style>
